<template>
  <el-button 
    type="primary" 
    size="default" 
    @click="btnChange">{{
      btnName
    }}</el-button>
</template>

<script>
import { Button } from "element-ui";
export default {
  components: {
    [Button.name]: Button,
  },
  props: {
    btnName: {
      type: String,
      default: "基础按钮",
    },
  },
  data() {
    return {};
  },
  methods: {
    btnChange() {
      
    }
  },
};
</script>

<style scoped>
</style>